package worker.model.service;

import java.sql.SQLException;
import java.util.ArrayList;
import java.util.HashMap;

import worker.model.dao.HistoryDao;
import worker.model.dao.MemberDao;
import worker.model.vo.DefectsVO;
import worker.model.vo.ItemInfoVO;
import worker.model.vo.MemberVO;
import worker.model.vo.OperationsVO;

public class MemberService {
	private MemberDao memberDao;

	public void setMemberDao(MemberDao memberDao) {
		this.memberDao = memberDao;
	}

	public void register(MemberVO mvo) throws SQLException {
		memberDao.register(mvo); 
	}

	public boolean checkId(String mem_id) throws SQLException {
		boolean flag=false;
		if(memberDao.checkId(mem_id)==1){
			flag=true;
		} 
		return flag;
	}
}






